
<h1><span class="yiyi-st" id="yiyi-13">numpy.ma.trace</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.trace.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.ma.trace.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="data">
<dt id="numpy.ma.trace"><span class="yiyi-st" id="yiyi-14"> <code class="descclassname">numpy.ma.</code><code class="descname">trace</code><span class="sig-paren">(</span><em>self</em>, <em>offset=0</em>, <em>axis1=0</em>, <em>axis2=1</em>, <em>dtype=None</em>, <em>out=None) a.trace(offset=0</em>, <em>axis1=0</em>, <em>axis2=1</em>, <em>dtype=None</em>, <em>out=None</em><span class="sig-paren">)</span><em class="property"> = &lt;numpy.ma.core._frommethod instance&gt;</em></span></dt>
<dd><blockquote>
<div><p><span class="yiyi-st" id="yiyi-15">沿数组的对角线返回总和。</span></p>
<p><span class="yiyi-st" id="yiyi-16">有关完整文档，请参阅<a class="reference internal" href="numpy.trace.html#numpy.trace" title="numpy.trace"><code class="xref py py-obj docutils literal"><span class="pre">numpy.trace</span></code></a>。</span></p>
</div></blockquote>
<div class="admonition seealso">
<p class="first admonition-title"><span class="yiyi-st" id="yiyi-17">也可以看看</span></p>
<dl class="last docutils">
<dt><span class="yiyi-st" id="yiyi-18"><a class="reference internal" href="numpy.trace.html#numpy.trace" title="numpy.trace"><code class="xref py py-obj docutils literal"><span class="pre">numpy.trace</span></code></a></span></dt>
<dd><span class="yiyi-st" id="yiyi-19">等效函数</span></dd>
</dl>
</div>
</dd></dl>
